Skip to content

hash: every key derivation defaults to backends::hash2 (design D33) - #17

Merged
pinhopro merged 1 commit into
mainfrom
hash/defaults-hash2
Nov 16, 2026
Merged

pinhopro merged 1 commit into
mainfrom
hash/defaults-hash2

Conversation

@pinhopro

Copy link
Copy Markdown
Contributor

Records the owner's decisions of 2026-11-16 in webcpp::hash's genesis proposal.

  • New design decision D33: backends::hash2 is the default of hkdf, hkdf_extract, hkdf_expand and pbkdf2 on every target and link set; backends::sodium for argon2id and scrypt, their only backend. BearSSL, OpenSSL and libsodium's HKDF are reached only by naming them in the type. No measurement or define decides a default.
  • Retired: the profiles, hash's reading of the umbrella profile, the per-algorithm overrides, detail/ranking.hpp, tools/hash/measure.py and the measure lane. doc/measurements.* stay as a reference measured on 2026-11-16 that decides nothing.
  • D8, D20, D28 and D32 are marked superseded, D18 and D25 in part; the spec's requirements and scenarios, reference/spec.md 4.1 and 4.2, the plan's notes, STATUS and task 1.26 follow.
  • New open question O3 for the owner: the default of later increments' algorithms that Boost.Hash2 lacks.

Implemented by webcpporg/hash and webcpporg/webcpp branches hash/defaults-hash2.

Checks: OpenSpec 1.10.0 validate --all --strict --no-interactive in every root (0 failed), tools/proposals.py readme and check (29 proposals, 0 problems), tools/proposals_test.py (18 tests, OK).

🤖 Generated with Claude Code

…ement decides a default (design D33)

The owner's decisions of 2026-11-16 replace the measured default: backends::hash2 for hkdf,
hkdf_extract, hkdf_expand and pbkdf2 on every target and link set, backends::sodium for argon2id
and scrypt, their only backend; BearSSL, OpenSSL and libsodium's HKDF only when named in the
type. The profiles, hash's reading of the umbrella profile, the per-algorithm overrides,
detail/ranking.hpp, tools/hash/measure.py and the measure lane are retired; doc/measurements.*
stay as a reference measured on 2026-11-16 that decides nothing. D8, D20, D28 and D32 are
superseded, D18 and D25 in part; the spec's requirements and scenarios, reference/spec.md 4.1 and
4.2, the plan's notes and task 1.26 follow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant